﻿Friend Class DirectoryInput
    Inherits ModelBase
    Implements IDirectoryInput

#Region "Events"
    ' Insert Event Declarations Here
#End Region

#Region "Properties"
#Region "Constants"
    ' Insert Constant Declarations Here
#End Region

    ' Insert Property Declarations Here
#End Region

#Region "Constructors"
    ' Insert Constructor Declarations Here
#End Region

#Region "Methods"
    Private Function GetPathsList(root As IO.DirectoryInfo) As IEnumerable(Of String)
        Return _
            New String() {
                root.FullName
            }.Union(
                From d In root.GetDirectories()
                From p In GetPathsList(d)
                Select p
            )
    End Function

#Region "Event Raiser Methods"
    ' Insert Method Declarations which Raise an Event Here
#End Region

#Region "Event Handlers"
    ' Insert Method Declarations which Handle an Event Here
#End Region
#End Region

End Class
